import request from '@/plugins/request';
var pre = '/highArea';
if (process.env.NODE_ENV !== "development") {
    pre = '/api/sa/epid-prevention' + pre;
}


// 查询中高风险区信息
export function getPageForHighArea(data) {
    return request({
      url: `${pre}/page`,
      method: "post",
      data,
    });
  }

  // 查询中高风险区详情
export function queryHighAreaDetail (data) {
    return request({
        url: `${pre}/detail`,
        method: 'post',
        data
    });
}